package service

import (
	"context"
	"mall-portalv2/internal/model"
)

func (s *Service) InsertLogs(ctx context.Context, insert model.Logs) (model.Logs, error) {
	result, err := s.dao.InsertLogs(ctx, insert)
	if err != nil {
		return model.Logs{}, err
	}
	return result, err
}
